<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'push-prog-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'name'); ?>
		<?php echo $form->textArea($model,'name',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'name'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'response_text'); ?>
		<?php echo $form->textArea($model,'response_text',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'response_text'); ?>
	</div>

	<div class="row">
		<?php //echo $form->labelEx($model,'discount_value'); ?>
		<?php //echo $form->textField($model,'discount_value',array('size'=>6,'maxlength'=>6)); ?>
		<?php //echo $form->error($model,'discount_value'); ?>
	</div>
	
	<div class="row">
	<?php echo CHTML::label("Enter please how much coupon You want:",'N'); ?>
	<?php echo CHTML::textField('N','1000'); ?>
	</div>
	<div class="row">
	<?php echo CHTML::label("Average:",'av'); ?>
	<?php echo CHTML::textField('av','10'); ?>
	</div>
	<div class="row">
	<?php echo CHTML::label("Minimum:",'min'); ?>
	<?php echo CHTML::textField('min','5'); ?>
	</div>
	<div class="row">
	<?php echo CHTML::label("Maximum:",'max'); ?>
	<?php echo CHTML::textField('max','40'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'currency'); ?>
		<?php echo $form->textField($model,'currency',array('size'=>5,'maxlength'=>5)); ?>
		<?php echo $form->error($model,'currency'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->